@charset "utf-8";
/*!
* Created by Toma on 2016-6-1 15:49:36
*/

// theme
$theme: #e1327a;

@import "toma";

/* mixin */
@mixin bg($w:100%,$h:100%,$po:center center){
  width: $w;
  height: $h;
  background-position: $po;
  background-repeat: no-repeat;
}
@mixin pos($t,$l){
  position: absolute;
  top: $t;
  left: $l;
}

/* index */
.logo,.logo-w{
  background-image: url(../img/logo.header.png);
  margin-bottom: 30px;
  @include bg(100%,130px);
}
.logo-w{
  height: 250px;
}
.hgroup{
  position: relative;
  font-size: 0;
  margin-bottom: 15px;
  height: 68px;
  &::after{
    @include pos(0,50%);
    height: 100%;
    border-right: 1px solid $theme;
  }
}
.aitem{
  display: inline-block;
  width: 50%;
  height: 100%;
  line-height: 68px;
  //text-align: center;
  font-size: 30px;
  font-weight: bold;
  overflow: hidden;
  color: #060606 !important;
  text-decoration: none !important;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
  &.active,&:hover{
    color: #ff4390 !important;
  }
}
.dzicon{
  display: inline-block;
  vertical-align: middle;
  margin-right: 42px;
  background-image: url(../img/dz.png);
  @include bg(43px,34px);
}

.content{
  position: relative;
  background-color: $theme;
  min-height: 800px;
  padding-top: 50px;
}
.bgmask{
  @include pos(0,0);
  background-image: url(../img/bg.jpg);
  @include bg(100%,100%);
  -webkit-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  opacity: .3;
}
.pack{
  background-image: url(../img/pack.png);
  @include bg(100%,auto,top left);
  padding-top: 100%;
  margin-bottom: 42px;
  -webkit-background-size: contain;
  background-size: contain;
}

.box-window{
  position: relative;
  width: 430px;
  height: 540px;
  float: right;
  perspective: 2000;
  -webkit-perspective: 2000;
  margin-bottom: 42px;
}
.cant-box{
  @include pos(0,0);
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  padding-top: 120px;
  z-index: 10;

  opacity: 1;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;

  &:nth-child(1).hide-box{
    transform: rotateY(180deg);
    opacity: 0;
    z-index: 1;
  }
  &:nth-child(2).hide-box{
    transform: rotateY(-180deg);
    opacity: 0;
    z-index: 1;
  }

}
.cat-logo{
  background-image: url(../img/cat.logo.jpg);
  @include bg(80%,220px);
  margin: 0 auto 56px;
  border: 1px solid #cecece;
}
.link{
  display: block;
  width: 70%;
  height: 70px;
  background-color: #e3287e;
  margin: 0 auto;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 27px;
  text-align: center;
  line-height: 70px;
  border-radius: 5px;
}
.info{
  color: #fff;
  h2{
    font-size: 26px;
    margin-bottom: 26px;
  }
  p{
    font-size: 16px;
    margin-bottom: 18px;
  }
}

.ewm-box{
  padding-top: 74px;
}
.ewm{
  display: block;
  margin: 0 auto 15px;
}
.hot-line{
  font-size: 22px;
  margin: 30px auto;
  text-align: center;
}
.floatpop{
  position: fixed;
  right: -1px;
  top: 50%;
  .list-group-item{
    padding: 20px 26px;
  }
  .list-group-item:first-child{
    border-top-right-radius:0;
  }
  .list-group-item:last-child{
    border-bottom-right-radius: 0;
  }
}

/* 公司简介 */
.goback{
  display: inline-block;
  background-image: url(../img/back.png);
  @include bg(100px,100px);
  vertical-align: middle;
  &.wi{
    background-image: url(../img/back.w.png);
  }
}
.log-header{
  height: 250px;
  line-height: 250px;
}
.cpimg{
  width: 100%;
  margin: 15px 0;
}
.cont-tit{
  color: #ff2f2f;
  margin-bottom: 36px;
}
.cont-info{
  position: relative;
  p{
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    text-indent: 30px;
  }
  &::before{
    content: '';
    @include pos(0,-5px);
    display: block;
    width: 50px;
    height: 50px;
    border-top: 1px solid #848484;
    border-left: 1px solid #848484;
    z-index: -1;
  }
  &::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: 50px;
    height: 50px;
    border-bottom: 1px solid #848484;
    border-right: 1px solid #848484;
    z-index: -1;
  }
}

/* 联系我们 */
.banner-l{
  background-image: url(../img/banner.png);
  @include bg(100%,450px);
  -webkit-background-size: cover;
  background-size: cover;
}
.log-info{
  img{
    margin-top: 40px;
    margin-bottom: 30px;
  }
  p{
    font-size: 20px;
    margin-bottom: 15px;
  }
}

/* 服务章程 */
.log-consit{
  background-color: #fff;
  padding: 25px;
  margin-bottom: 50px;
  p{
    line-height: 1.8;
    margin-bottom: 15px;
    text-indent: 26px;
  }
  .cp{
    margin-bottom: 5px;
    text-indent: 0;
  }
  h4{
    color: #ff259c;
  }
}
.log-table{
  border: 1px solid #d1d1d1;
  th,td{
    text-align: center;
    vertical-align: middle !important;
  }
  &.td2 td:nth-child(2){
    text-align: left;
  }
  .text-left{
    text-align: left!important;
  }
  .text-center{
    text-align: center !important;
  }
}



/* 小屏幕 */
@media (max-width:768px) {
  .box-window{
    width: 100%;
  }
  .pack{
    background-position:center center;
  }
  .logo,.logo-w{
    -webkit-background-size: 90% auto;
    background-size: 90% auto;
  }
  .cont-info{
    &::before,&::after{
      display: none;
    }
  }
  .logo-w .goback{
    display: none;
  }
}